﻿/******************************************************   
创建者: 梁家健
创建时间: 2017-03-16
修改:
修改时间: 
功能: 店铺更新系数实体
 ******************************************************/

using com.nm.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlanAPI.model
{
    public class PLBasShopUpdateRateModel
    {
        /// <summary>
        /// 店铺更新系数实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-16
        public class CreatModel: NeceModel
        {
            [ParamDescription("审核人")]
            public string Checker { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? MofifyDTM { get; set; }
            [ParamDescription("允许使用")]
            public long? AllowUsed { get; set; }
            [ParamDescription("读取时间")]
            public DateTime? LoadTime { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? EtlDate { get; set; }
        }

        /// <summary>
        /// 店铺更新系数主要实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-17
        public class NeceModel
        {
            [ParamDescription("公司")]
            public string CompanyID { get; set; }
            [ParamDescription("年份")]
            public long? Yearv { get; set; }
            [ParamDescription("周")]
            public long? Weekv { get; set; }
            [ParamDescription("所属月份")]
            public long? Monthv { get; set; }
            [ParamDescription("零售分区")]
            public string ParentAreaID { get; set; }
            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }
            [ParamDescription("周更新率")]
            public decimal? ShopRate { get; set; }
            [ParamDescription("审核状态")]
            public long? CheckState { get; set; }
            [ParamDescription("备注")]
            public string Remark { get; set; }
            [ParamDescription("数据源")]
            public string ExtrSource { get; set; }
        }

        /// <summary>
        /// 店铺更新系数显示实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-16
        public class ListModel: NeceModel
        {
            [ParamDescription("店铺名称")]
            public string ShopName { get; set; }
            [ParamDescription("店铺代码")]
            public string ShopCode { get; set; }
            [ParamDescription("零售分区名称")]
            public string ParentAreaName { get; set; }
    }

        /// <summary>
        /// 店铺更新系数修改实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-03-16
        public class ModifyModel
        {
            public IList<NeceModel> list { get; set; }
        }
    }
}
